package com.linlong.linlongchat.service;

import com.linlong.linlongchat.domain.dto.FriendDto;
import com.linlong.linlongchat.domain.po.Friend;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 华少
 * @since 2024-09-20
 */
public interface IFriendService extends IService<Friend> {
    List<Friend> getFriendList(String userAccount);

    boolean addFriend(FriendDto friendDTO);

    void updateRemark(FriendDto friendDTO);

    Boolean findFriend(String userAccount, String friendAccount);

    void deleteFriend(String friendAccount);
}
